POV-Ray : Newsgroups : povray.binaries.images : --( Cellular Automata )-- : Re: --( v2)--( Cellular Automata )-- Server Time
13 Aug 2024 17:25:14 EDT (-0400)
  Re: --( v2)--( Cellular Automata )--  
From: Tim Nikias v2 0
Date: 1 Apr 2003 09:56:35
Message: <3e89a8a3@news.povray.org>
Say, which is your native language? I'm just curious,
because you sometimes lack an s where it would
be needed, and have s (which indicates a plural) in
other places.
I'm not a native english speaker either, but I'm
just wondering what your original language is.

And I don't wanna nitpick, just trying to help you with
your english:
its neighbour, neighbourhood.

--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

>
> --------------( oo )--------------
>
> For the Cellular Automata, go see the software Cellular Automata Viewer
2.0.
> You could play rules in 2D. I used the same system of rules, exept that I
> used a 3D grid. For the rules, that's completly different. For the grid, I
> guess this is the same system.
>
> For the Grid, I create three Sub loops to obtain the definition of each
rows
> and cols. I used Arrays. I obtain a 3D array. For each cells, I make a
test
> to see the cells around in the proximity of one cell. I constitute a new
sub
> array of the neiberhood (the function is generalized to be able to make
> simulations using more than the first level of proximity.) When a cell
> detect more than 9 neiber, a new cell is born.
>
> --------------( oo )--------------
>
> You could have a look at;
>
> --( IDENTIFIER - RValue )-- in povray.advanced-users
>
> --------------( oo )--------------
>


> #declare gMaNC = 30;  //Nombres de colones [Col]
>
> blob {  threshold 0.6
>
>         #declare Zow = 0;
>         #while (Zow < gMaNZ)
>
>                 #declare Row = 0;
>                 #while (Row < gMaNH)
>
>                         #declare Col = 0;
>                         #while (Col < gMaNC)
>
> ////////////////////////////////////////////////////////////
>
>                                 #if (gMa[Zow][Row][Col] != 0)
>                                         sphere { <(Row-(gMaNH/2)),
> (Zow-(gMaNZ/2)),(Col-(gMaNC/2))>,
>                                                 (ray/26 )/0.5
>                                                 , 1 pigment { color rgb
> gColor}} #end
>
>
> ///////////////////////////////////////////////////////////
>                           #declare Col = Col+1;
>                         #end
>
>                   #declare Row = Row+1;
>                 #end
>
>           #declare Zow = Zow+1;
>         #end
> }
>
>     #debug "--------------------------------------------------(ok)\n"
>
>
> --------------( oo )--------------

> Architecture CAAO
>
> "Johan De Messemaeker" <joh### [at] advalvasbe> wrote in message
> news:3e897d3c@news.povray.org...

> >
> > > Here's new Simulations. Yellow cells are alone and red cells are the
> core.
> > > I have made .AVI, I'll post that soon.
> >
> > These are great !!!! Since i'm a beginner at Povay, i really don't have
a
> > clue how you created these images. Could you elaborate a bit ? :-)
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.